package org.kgc.alanhealth.mapper;

import org.kgc.alanhealth.entity.HospitalDrugs;
import org.kgc.alanhealth.vo.HospitalDrugsDetail;

import java.util.List;

/**
* @author 27493
* @description 针对表【hospital_drugs】的数据库操作Mapper
* @createDate 2024-09-10 10:42:07
* @Entity org.kgc.alanhealth.entity.HospitalDrugs
*/
public interface HospitalDrugsMapper {
    List<HospitalDrugsDetail> selectByDrugName(String drugs);
    List<HospitalDrugsDetail> selectBydrugDescription (String drugDescription );
    List<HospitalDrugsDetail> getAllByDrugs(Integer from,Integer pageSize);
   int getAllByDrugsCount();
    int deleteByPrimaryKey(Long id);

    int insert(HospitalDrugs record);

    int insertSelective(HospitalDrugs record);

    List<HospitalDrugsDetail> selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalDrugs record);

    int updateByPrimaryKey(HospitalDrugs record);

}
